{% extends "blogs/admin/base_blog.html" %}

{% block current_action %}Blog details{% endblock %}

{% block content %}
<p></p>
<form action="" method="post">
    <fieldset class="module ">
        <dl>
            {% for field in form %}
                <dt>{{ field.label_tag }}: {% if field.field.required %}*{% endif %}</dt>
                <dd>{{ field }}</dd>
                {% if field.help_text %}<dd>{{ field.help_text }}</dd>{% endif %}
                {% if field.errors %}<dd class="myerrors">{{ field.errors }}</dd>{% endif %}
            {% endfor %}
        </dl>
    </fieldset>
    <div class="submit-row">
        <input class="default" type="submit" value="Save" />
        <input type="submit" name="_continue" value="Save and Continue" />
    </div>
</form>
<iframe frameborder="0" style="width: 100%; height: 310px" src="{% url blogs.admin.upload_image blog_slug %}"></iframe>
{% endblock %}